package com.crane.oss.common.service;

import java.io.File;

/**
 * 上传文件到阿里OSS
 *
 * @author tyh
 */
public interface AliyunOSSService {

    public String uploadImage(byte[] localData, String remoteFileName);

    public String uploadImage(File file, String remoteFileName);

    public String uploadVideo(File file, String remoteFileName);

    public String uploadFile(File file, String remoteFileName);

    public void deleteFile(String remoteFileName, String filePath);
}
